package entity;

import java.sql.Timestamp;


/**
 * Exam entity. @author MyEclipse Persistence Tools
 */

public class Exam  implements java.io.Serializable {


    // Fields    

     private String examNo;
     private String examName;
     private String courseNo;
     private Timestamp startTime;
     private Timestamp endTime;
     private String teacherNo;
     private String state;


    // Constructors

    /** default constructor */
    public Exam() {
    }

	/** minimal constructor */
    public Exam(String examNo) {
        this.examNo = examNo;
    }
    
    /** full constructor */
    public Exam(String examNo, String examName, String courseNo, Timestamp startTime, Timestamp endTime, String teacherNo, String state) {
        this.examNo = examNo;
        this.examName = examName;
        this.courseNo = courseNo;
        this.startTime = startTime;
        this.endTime = endTime;
        this.teacherNo = teacherNo;
        this.state = state;
    }

   
    // Property accessors

    public String getExamNo() {
        return this.examNo;
    }
    
    public void setExamNo(String examNo) {
        this.examNo = examNo;
    }

    public String getExamName() {
        return this.examName;
    }
    
    public void setExamName(String examName) {
        this.examName = examName;
    }

    public String getCourseNo() {
        return this.courseNo;
    }
    
    public void setCourseNo(String courseNo) {
        this.courseNo = courseNo;
    }

    public Timestamp getStartTime() {
        return this.startTime;
    }
    
    public void setStartTime(Timestamp startTime) {
        this.startTime = startTime;
    }

    public Timestamp getEndTime() {
        return this.endTime;
    }
    
    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    public String getTeacherNo() {
        return this.teacherNo;
    }
    
    public void setTeacherNo(String teacherNo) {
        this.teacherNo = teacherNo;
    }

    public String getState() {
        return this.state;
    }
    
    public void setState(String state) {
        this.state = state;
    }
   








}